/*全体css*/

* {
	margin: 0;
	padding: 0;
}

/*body*/

body {
	font-family: "微软雅黑", sans-serif;
	font-weight: 500;
	background: rgba(255,0,0,0.8);
}

/*网页顶部*/

.header {
	width: 100%;
	background-color: orange;
	height: 40px;
}

/*导航栏*/

nav {
	text-align: center;
}

nav ul {
	background-color: orange;
	display: inline-table;
	position: relative;
	list-style: none;
}

nav ul ul {
	display: none;
}

nav ul li {
	float: left;
}

nav ul::after {
	content: "";
	display: block;
	clear: both;
}

nav ul li a {
	display: block;
	padding: 10px 20px;
	margin: 0;
	color: #000000;
	text-decoration: none;
}

nav ul li:hover>ul {
	display: block;
	clear: both;
}

nav ul li:hover {
	background-color: rgba(144, 144, 144, 0.1);
}

nav ul li:hover a {
	color: #FFFFFF;
}

nav ul ul {
	background-color: orange;
	opacity: 0.7;
	position: absolute;
	top: 100%;
	padding: 0;
}

nav ul ul li {
	float: none;
}

nav ul ul li a {
	color: #FFFFFF;
}

nav ul ul li a:hover {
	background-color: #4b545f;
}

.login {
	margin-left: 900px;
}

/*网页顶部的图片*/

.img {
	display: block;
	width:100% ;
}

/*商品页的css*/

.mianbody {
	width: 100%;
}

/*分类列表的css*/

.classification-list {
	position: relative;
	width: 100%;
	height: 60px;
	background-color: white;
	/*border-bottom: 1px solid black;*/
}
.classification-list2{
	display: none;
	position: relative;
	background-color: white;
	width: 100%;
}
.button{
	float: right;
}
#list{
	clear: both;
}
/*当分类列表到浏览器的顶部时，加入css样式*/

.gdjt {
	position: fixed;
	top: 0;
	z-index: 9999;
}

/*分类列表样式*/

.kuang {
	position: relative;
	width: 100px;
	height: 30px;
	border-radius: 17px;
	background: linear-gradient( top left, rgb(255, 0, 0) 0%, rgb(255, 0, 255) 100%);
	background: linear-gradient(to bottom right, rgb(255, 0, 0) 0%, rgb(255, 0, 255) 100%);
	font-family: "微软雅黑", sans-serif;
	font-size: 25px;
	color: white;
	text-align: center;
	padding: 5px;
	margin: 10px;
	display: inline-block;
	overflow: hidden;
    cursor: pointer;
	
}
/*商品页样式*/
.shangpin{
	width: 1200px;
	margin: 0 auto;
	
}
a {
	color: white;
	text-decoration: none;
	
}

p {
	text-align: center;
	color: black;
}

div.img-css {
	text-align: center;
}

div.img-css:after {
	bottom: 0;
	left: 5px;
	position: absolute;
	z-index: 10;
}

div.img-css:hover img {
	transition: all 1s ease 0s;
	transform: scale(1.1);
}

div.good-css {
	width: 290px;
	height: 350px;
	/*border: 1px solid black;*/
	background: white;
	float: left;
	margin-top: 10px;
	margin-left: 8px;
}

div.good-css:hover{
	box-shadow: 5px 5px 10px rgba(0,0,255,0.5);
}
div.img-css {
	margin: 15px auto;
}

.a-css .img-css {
	position: relative;
	display: block;
	overflow: hidden;
	width: 250px;
	height: 250px;
}
/*网页尾部*/
.footer{
	float: left;
	width: 100%;
	height: 100px;
	background: #e8e8ea;
	margin-top: 20px;
}
.page{
	padding-top:20px ;
}
